package com.zhengxing.jienci.user.mapper.rbac;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhengxing.jienci.user.domain.rbac.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * RoleMapper
 *
 * @author philbert
 * @version 1.00
 */
@Repository
public interface RoleMapper extends BaseMapper<Role> {

    Integer nameExist(@Param("name") String name, @Param("excludId") String excludId);

    Integer codeExist(@Param("code") String code, @Param("excludId") String excludId);

}
